<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">

<TITLE>SFX commands: Path</TITLE>
<link href="style.css" rel="stylesheet" type="text/css">
</HEAD>

<BODY BGCOLOR="#FFFFFF" TEXT="#000000">

<OBJECT TYPE="application/x-oleobject" CLASSID="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">

	<PARAM NAME="Keyword" VALUE="SFX commands: Path">
</OBJECT>

<P class="title"><A NAME="HELPSFXPath"></A>SFX commands: Path<hr></P>


<P><B><I>Path=&lt;path&gt;</I></B></P>

<P>Set the default destination path for unpacked files. Absolute paths
started from '&lt;drive letter&gt;:' are used without changes. If <I>
&lt;path&gt;</I> contains only a name, it will be appended to the path
of the "Program Files" folder. If you wish to disable such behavior
and create the specified folder in the current folder, start <I>&lt;path&gt;</I>
definition from '.\' characters.</P>

<h1>Examples</h1>

<ol>
  <li> set the default path to "<I>Program Files\Calc 3.05</I>":</li>
</ol>
<blockquote>
  <p class="sample">Path=Calc 3.05</p>
</blockquote>
<ol start="2">
  <li> set the default path to "<I>C:\Calc</I>":</li>
</ol>
<blockquote>
  <p class="sample">Path=C:\Calc</p>
</blockquote>
<ol start="3">
  <li> set "<I>Calc</I>" folder without any preceding text as the default
    path:</li>
</ol>
<blockquote>
  <p class="sample">Path=.\Calc</p>
</blockquote>

<h1><B>Notes</B></h1>

<ol type="1">
  <li>It is allowed to specify system environment variables in %varname%
    format in Path. For example, "Path=%APPDATA%\MyApp". SFX module
    expands them automatically. Dynamic environment variables such as
    %date% or %random%, are not expanded.</li>
  <li>SFX module sets <i>sfxstime</i> environment variable, which contains
    the module start time in "YYYY-MM-DD-HH-MM-SS-ms" format.
    You can specify it in Path command if you need to generate a time
    based unique installation path, such as "Path=MyApp-%sfxstime%"</li>
</ol>

</BODY>
</HTML>
